package com.information.manage.model.excel;

import com.information.manage.common.annotation.CsvField;
import com.information.manage.common.constants.DataType;
import lombok.Data;

import java.util.Date;

@Data
public class CsvAnalysis {

    @CsvField(name = "title")
    private String title;

    @CsvField(name = "trans_title")
    private String transTitle;

    @CsvField(name = "publish_date", dataType = DataType.DATE)
    private Date publishDate;

    @CsvField(name = "key_word")
    private String keyword;

    @CsvField(name = "author")
    private String author;

    @CsvField(name = "language")
    private String language;

    @CsvField(name = "crawl_date", dataType = DataType.DATEANDTIME)
    private Date scrapeDate;

    @CsvField(name = "type_tag")
    private String typeTag;

    @CsvField(name = "url")
    private String url;

    @CsvField(name = "abstract")
    private String abstractStr;

    @CsvField(name = "trans_abstract")
    private String transAbstract;

    @CsvField(name = "path")
    private String path;

    @CsvField(name = "briefing")
    private String summary;

    @CsvField(name = "summary_path")
    private String summaryPath;

}
